/* page style */
body {
	font-size: 14px;
	background: #fff;
	color: #555;
	font-family: 'Helvetica Neue', Arial, sans-serif;
}
a {
	color: #0072bc;
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}
h1, h2, h3, h4, h5, h6 {
	margin: 0 0 0.25em 0;
	line-height: 1.2em;
	color: #222;
}
h1 {
	font-size: 3em;
	font-weight: 200;
}
h2 {
	font-size: 2em;
	font-weight: 200;
}
h3 {
	font-size: 1.5em;
	font-weight: 200;
}
h4 {
	font-size: 1.25em;
}
h5 {
	font-size: 1.125em;
}
h6 {
	font-size: 1em;
}
p {
	margin: 0 0 1.5em 0;
	line-height: 1.5em;
}
hr {
	height: 1px;
	border: 0;
	color: #eee;
	background: #eee;
	margin: 1.5em 0;
}

/* forms */
input, textarea, select, button, label {
	font-family: inherit;
	font-size: inherit;
	color: #333;
}
label[for] {
	cursor: pointer;
}
input, textarea, select, button, .sp-peoplepicker-topLevel, div.ms-inputuserfield, .ms-rtestate-field[contenteditable], .ms-socialCommentInputBox {
	border: 1px solid #eee;
	background: #fafafa;
	padding: 0.5em;
	margin: 0;
}
select {
	padding: 0;
	margin: 0.5em 0;
}
input[type=checkbox], input[type=radio] {
	padding: 0;
	border: 0;
	cursor: pointer;
	background: transparent none;
}
input:hover, textarea:hover, select:hover, .sp-peoplepicker-topLevel:hover, div.ms-inputuserfield:hover, .ms-rtestate-field[contenteditable]:hover, .ms-socialCommentInputBox:hover {
	border-color: #ccc;
}
input:focus, textarea:focus, select:focus, .sp-peoplepicker-topLevelFocus, div.ms-inputuserfield:focus, .ms-rtestate-field[contenteditable]:focus, .ms-socialCommentInputBox:focus {
	background: #fff;
	border-color: #999;
}
button, input[type=button], input[type=submit], input[type=reset] {
	background-color: #eee;
	border-color: #ccc;
	padding: 0.75em 1.5em;
	cursor: pointer;
	width: auto !important;
	margin: 0.5em 0 0 0.5em;
}
button:hover, input[type=button]:hover, input[type=submit]:hover, input[type=reset]:hover {
	border-color: #aaa;
}
.ms-ToolPaneOuter button, .ms-ToolPaneOuter input[type=button], .ms-ToolPaneOuter input[type=submit], .ms-ToolPaneOuter input[type=reset], .ms-core-menu-box button {
	padding: 0.5em;
}

/* hide ribbon */
#suiteBar, #s4-ribbonrow, #suiteBarDelta {
	display: none;
}

/* smooth scrolling on touch devices */
#s4-workspace {
	-webkit-overflow-scrolling: touch;
}

/* theme (change to suit design aesthetic) */
.ms-soften, .ms-disabled, .ms-rteStyle-Byline, .ms-rteStyle-Quote, .ms-rteStyle-IntenseQuote, .ms-rteStyle-References, .ms-rteStyle-IntenseReferences {
	color: #aaa;
}
.ms-accentText, .ms-rteStyle-Emphasis, .ms-rteStyle-IntenseEmphasis, .ms-rteStyle-Comment, .ms-rteStyle-Accent1, .ms-rteStyle-Caption, .ms-rteStyle-Accent2 {
	color: #0072bc;
}
#suiteBarLeft, input.ms-button-emphasize, button.ms-button-emphasize, .ms-storefront-appiconspan, .ms-tileview-tile-selected, .ms-tileview-tile-selectionBox, .ms-tileview-tile-selectionBox > *, .ms-tileview-tile-selectionBox:hover > *, .s4-itm-selected > .ms-vb-imgFirstCell.ms-vb-imgFirstCell, .ms-tileview-tile-content, .ms-featurestatus {
	background-color: #0072bc;
}
.o365cs-nav-header .o365cs-nav-leftAlign, .o365cs-nav-header .o365cs-nav-headerRegion {
	background-color: #0072bc !important;
}
input.ms-button-emphasize, button.ms-button-emphasize, input.ms-button-emphasize:hover, button.ms-button-emphasize:hover, a.ms-missinglink, .ms-promlink-button-enabled-hover, .ms-promlink-button-enabled:hover, .ms-promlink-button-enabled-pressed {
	border-color: #0072bc;
}
.s4-itm-selected > .ms-vb-imgFirstCell.ms-vb-imgFirstCell, .ms-inlineSearch-searchImgSpanHoverHighlight {
	border-color: rgba(0, 114, 188, 0.1);
}
.ms-vl-apptilehover:hover, .ms-core-menu-item:hover, .ms-core-menu-itemSelected, .ms-itmHoverEnabled:hover > *, .s4-itm-selected > *, .s4-itm-selected:hover > *, .ms-vh-selectAllIcon:hover, .ms-headerCellStyleHover, .ms-inlineSearch-searchImgSpanHoverHighlight, .ms-inlineSearch-imgHoverHighlight, .ms-vb-title .s4-ctx-show, .ms-srch-sb-searchLink:hover, .ms-srch-sb-navLink:hover, .ms-qSuggest-hListItem, .ms-promlink-button-enabled-hover, .ms-promlink-button-enabled:hover, .ms-promlink-button-enabled-pressed {
	background-color: rgba(0, 114, 188, 0.1);
}
.ms-vl-apptileselected, .s4-itm-selected .ms-list-itemLink-td, .s4-itm-selected:hover .ms-list-itemLink-td, .ms-itmHoverEnabled:hover .ms-list-itemLink-td, .ms-headerCellStylePressed, .ms-headerCellStyleMenuOpen, .ms-srch-sb-searchLink:active, .ms-srch-sb-searchLink > img:active, .ms-srch-sb-navLink:active, .ms-srch-sb-navLink > img:active, .ms-srch-sb-navLink-menuOpen, .ms-srch-sb-navLink-menuOpen:hover {
	background-color: rgba(0, 114, 188, 0.2);
}
.ms-featurealtrow {
	background-color: #fafafa;
}
#globalNavBox, .o365cs-nav-header .o365cs-spo-topbar {
	background-color: #fafafa !important;
}

/* utility */
.hidden {
	display: none !important;
	visibility: hidden;
}
.clearfix:before, .clearfix:after {
	content: " ";
	display: table;
}
.clearfix:after {
	clear: both;
}
.clearfix {
	*zoom: 1;
}
.pull-left {
	float: left;
}
.pull-right {
	float: right;
}

/* grid */
.wrap {
	width: 100%;
	margin: auto;
}
.row {
	clear: both;
}
.row:before, .row:after {
	content: " ";
	display: table;
}
.row:after {
	clear: both;
}
.row {
	*zoom: 1;
}

/* logo */
h1.site-title {
	float: left;
	margin: 10px;
}
h1.site-title img {
	display: block;
}

/* navigation */
.ui-spnav.ui-overlay {
	position: absolute;
	width: 100%;
	z-index: 100;
}
.ui-spnav.ui-off-canvas {
	position: fixed;
	top: 0;
	right: 100%;
	width: 85%;
	height: 100%;
	z-index: 100;
	overflow: hidden;
	overflow-y: auto;
}
#ui-canvas-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: #000;
	background: rgba(0, 0, 0, 0.85);
	cursor: pointer;
}
.ms-core-listMenu-horizontalBox, .ms-core-listMenu-horizontalBox ul, .ms-core-listMenu-horizontalBox li, .ms-core-listMenu-horizontalBox .ms-core-listMenu-item, .ms-core-listMenu-horizontalBox>ul>li>table {
	display: block;
}
.top-nav ul.static {
	padding: 0;
}
.top-nav a.static {
	padding: 0.75em;
	background: #fafafa;
	border-bottom: 1px solid #eee;
}
.top-nav a.selected {
	font-weight: bold;
}
ul.dynamic {
	position: static;
	width: auto !important;
	background-color: transparent;
	box-shadow: none;
}
.top-nav a.dynamic {
	padding: 0.75em 0.75em 0.75em 1.5em;
	background: #fafafa;
	border-bottom: 1px solid #eee;
}
.ms-navedit-editSpan input[type=button] {
	padding: 0.1em 0.25em;
	margin: 0 0.25em 0 0;
}

/* search */
.site-search {
	float: right;
	margin: 10px 10px 10px 0;
}
.site-search input {
	width: 100px;
}

/* sign in */
.ms-signInLink {
	float: right;
	margin: 15px 10px 0 0;
}

/* quick launch */
.side-nav ul.static {
	margin: 0;
	padding: 0;
	list-style: none;
}
.side-nav ul.static ul.static {
	margin-left: 1em;
}

/* tabs */
ul.ui-tabs-nav {
	margin: 0;
	padding: 0;
	border-bottom: 1px solid #eee;
}
ul.ui-tabs-nav li {
	list-style: none;
	margin: 0 0 0 0.5em;
	padding: 0;
	display: inline-block;
}
ul.ui-tabs-nav li a {
	display: block;
	padding: 1em;
	background: #f7f7f7;
	border: 1px solid #eee;
	position: relative;
	top: 1px;
}
ul.ui-tabs-nav li.ui-state-active a {
	background: #fff;
	border-bottom-color: #fff;
}
.wptabs-accordion-header {
	margin: 0 0 0.25em 0;
}
.wptabs-accordion-header a {
	display: block;
	padding: 1em;
	background: #f7f7f7;
	border: 1px solid #eee;
}
.wptabs-accordion-header .ui-icon {
	display: block;
	float: right;
	border: 0.5em solid transparent;
	border-left-color: #eee;
	position: relative;
	top: 0.25em;
}
.wptabs-accordion-header.ui-state-active .ui-icon {
	border-left-color: transparent;
	border-top-color: #eee;
	top: 0.5em;
	left: -0.25em;
}
.wptabs .ms-webpart-chrome-title {
	display: none;
}
.wptabs .ms-webpartzone-cell {
	margin: 0;
	padding: 0;
}
.wptabs .ms-webpart-chrome, .wptabs .ms-wpContentDivSpace {
	padding: 1em;
}

/* nav buttons */
.top-nav.ui-spnav .ms-core-listMenu-horizontalBox .dynamic-children.additional-background {
	background-image: none;
	padding-right: 0;
}
.ui-menu-button {
	position: relative;
	display: block;
	clear: both;
	padding: 1em;
	background: #111;
	color: #fff;
}
.ui-menu-button .ui-icon-menu {
	display: block;
	float: left;
	margin-right: 0.75em;
	position: relative;
	width: 1.5em;
	height: 1em;
}
.ui-menu-button .ui-icon-menu span {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 3px;
	background: #fff;
}
.ui-menu-button .ui-icon-menu span.line2 {
	margin-top: 6px;
}
.ui-menu-button .ui-icon-menu span.line3 {
	margin-top: 12px;
}
.ui-menu-button .ui-icon {
	display: block;
	float: right;
	width: 0;
	height: 0;
	border: 6px transparent solid;
	border-top-color: inherit;
	margin: 0.4em 0 0 0.5em;
}
.ui-menu-button .ui-icon-open {
	border-top-color: transparent;
	border-bottom-color: #fff;
	margin: -0.1em 0 0.5em 0.5em;
}
.ui-expand-button {
	display: block;
	float: right;
	padding: 0.7em 1em;
	border-left: 1px solid #eee;
}
.ui-expand-button .ui-icon {
	display: block;
	width: 0;
	height: 0;
	border: 6px transparent solid;
	border-top-color: #0072bc;
	margin: 0.4em 0 0 0;
}
.ui-expand-button .ui-icon-open {
	border-top-color: transparent;
	border-bottom-color: #0072bc;
	margin: -0.1em 0 0.5em 0;
}

/* slideshow */
.ui-slideshow {
	position: relative;
	overflow: hidden;
}
.ui-slideshow > ul:first-child {
	z-index: 1;
}
.slide-item {
	position: relative;
}
.slide-item-image img {
	display: block;
	width: 100%;
}
.slide-item-content {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	background: #000;
	background: rgba(0, 0, 0, 0.75);
	color: #fff;
}
.slide-item-content h3 {
	color: #fff;
	padding: 20px 20px 0 20px;
	margin: 0;
}
.slide-item-content-main {
	padding: 0 20px 20px 20px;
}
.slide-item-content-main p {
	margin: 0;
}
.ui-slideshow-paging {
	margin: 0;
	padding: 0;
	z-index: 3;
}
.ui-slideshow-paging li {
	margin: 0;
	padding: 0;
	list-style: none;
	position: absolute;
	top: 0;
	left: 0;
	width: 8%;
	height: 100%;
}
.ui-slideshow-paging li.ui-slide-next {
	left: auto;
	right: 0;
}
.ui-slideshow-paging li a {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	text-indent: -9999em;
	opacity: 0;
	background: rgba(255, 255, 255, 0.001);
	transition: box-shadow 0.25s ease;
	z-index: 3;
}
.ui-slideshow-paging li a:hover {
	box-shadow: inset 10px 0 10px rgba(0, 0, 0, 0.25);
	opacity: 1;
}
.ui-slideshow-paging li.ui-slide-next a:hover {
	box-shadow: inset -10px 0 10px rgba(0, 0, 0, 0.25);
}
.ui-slideshow-paging li a:after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	border: 10px solid transparent;
	margin: -10px 0 0 -15px;
	border-right-color: #fff;
}
.ui-slideshow-paging li.ui-slide-next a:after {
	border-right-color: transparent;
	border-left-color: #fff;
	margin-left: -5px;
}
.ui-slideshow-nav {
	margin: 0;
	padding: 0;
	position: absolute;
	bottom: 10px;
	right: 10px;
	text-align: center;
	z-index: 4;
}
.ui-slideshow-nav li {
	margin: 0 2px;
	padding: 0;
	list-style: none;
	display: inline-block;
}
.ui-slideshow-nav li a {
	display: block;
	width: 8px;
	height: 8px;
	border: 2px solid #fff;
	border-radius: 6px;
	text-indent: -9999em;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}
.ui-slideshow-nav li.ui-active a {
	background: #fff;
}

@media screen and (min-width: 768px) {
	
	/* show ribbon */
	#suiteBar, #s4-ribbonrow, #suiteBarDelta {
		display: block;
	}
	
	/* grid columns */
	.col {
		float: left;
		min-height: 1px;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		-o-box-sizing: border-box;
		box-sizing: border-box;
	}
	.col.padded {
		padding-left: 1%;
		padding-right: 1%;
	}
	.col.padded-left {
		padding-left: 1%;
	}
	.col.padded-right {
		padding-right: 1%;
	}
	.col.one {
		width: 8.333333333333333%;
	}
	.col.two {
		width: 16.66666666666666%;
	}
	.col.three, .col.one-fourth {
		width: 25%;
	}
	.col.four, .col.one-third {
		width: 33.33333333333333%;
	}
	.col.five {
		width: 41.66666666666666%;
	}
	.col.six, .col.half {
		width: 50%;
	}
	.col.seven {
		width: 58.33333333333333%;
	}
	.col.eight, .col.two-thirds {
		width: 66.66666666666666%;
	}
	.col.nine, .col.three-fourths {
		width: 75%;
	}
	.col.ten {
		width: 83.33333333333333%;
	}
	.col.eleven {
		width: 91.66666666666666%;
	}
	.col.twelve, .col.wide {
		width: 100%;
	}
	
	/* navigation */
	.top-nav {
		float: left;
		margin: 50px 10px 0 10px;
	}
	.ms-core-listMenu-horizontalBox, .ms-core-listMenu-horizontalBox ul, .ms-core-listMenu-horizontalBox li, .ms-core-listMenu-horizontalBox .ms-core-listMenu-item, .ms-core-listMenu-horizontalBox>ul>li>table {
		display: inline-block;
	}
	.top-nav a.static {
		padding: 0;
		background-color: transparent;
		border-bottom: 0;
		margin-right: 1.25em;
	}
	.top-nav a.dynamic {
		padding: 0;
		background-color: transparent;
		border-bottom: 0;
	}
	ul.dynamic {
		position: absolute;
		margin-left: 0;
		width: 150px !important;
		padding: 10px;
		background-color: #fff;
		box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
	}
	ul.dynamic li {
		display: block;
	}
	
	/* search */
	.site-search input {
		width: 140px;
	}
	
}
